class oldAdaptee{
    specificRequest(){
        return '旧标准接口'
    }
}

//适配器
class Target{
    constructor(){
        this.adaptee = new oldAdaptee()
    }
    request(){
        let info = this.adaptee.specificRequest()
        return "info"+"转换为新标准接口"
    }
}

export default {
    Target
}
